arithmetic if statementの例文
- In practice it has been observed that most arithmetic IF statements referenced the following statement with one or two of the labels.
- In one case of a three-way conditional provided by the programming language, Fortran's now-deprecated three-way arithmetic IF statement considers the sign of an arithmetic expression and offers three labels to jump to according to the sign of the result:
- Fortran did not have an equality operator ( it was only possible to compare an expression to zero, using the arithmetic IF statement ) until FORTRAN IV was released in 1962, since when it has used the four characters " . EQ . " to test for equality.